package org.sagitta.httprpc.message;

public class ExceptionResponse extends Response {

	private static final long serialVersionUID = -9209502449433436529L;
	private int code;
	private String detail;

	public ExceptionResponse() {
		super();
	}

	public ExceptionResponse(int code) {
		super();
		this.code = code;
	}

	public ExceptionResponse(int code, String detail) {
		super();
		this.code = code;
		this.detail = detail;
	}

	public int getCode() {
		return code;
	}

	public void setCode(int code) {
		this.code = code;
	}

	public String getDetail() {
		return detail;
	}

	public void setDetail(String detail) {
		this.detail = detail;
	}
}
